
#include <avr/io.h>
#include "RS232.h"
#include <stdio.h>
#include "ADC.h"
#include <util/delay.h>

int main(void)
{
//char outs[20];
//char ReceivedByte; 
//volatile unsigned int adc_value=0;

//init_USART();
//init_adc();

DDRD=0xFF;


while (1) // Loop forever 
   {
//     while ((UCSR0A & (1 << RXC0)) == 0); 
//      		ReceivedByte = UDR0; // Fetch the received byte value into the variable "ReceivedByte" 
//     while ((UCSR0A & (1 << UDRE0)) == 0) {};
//    		UDR0 = ReceivedByte;

PORTD=0xFF;		 
		
	 //adc_value=read_adc();

     //snprintf(outs,sizeof(outs),"%3d\r\n", adc_value);  // print it
     //put_on_USART(outs);

     //_delay_ms(125);        // wait a bit


   }
return 0;
}
